/**
 * 
 */
package it.unical.canonaco.rende.igpe.game.cbv.logiclayer.engine.component.pawn.stats;

import java.util.LinkedList;

/**
 * @author Massimo Canonaco
 *
 */
public class StartingRole extends Role {

	/** */
	private Stats perLevelCharacteristics;
	
	/** */
	private LinkedList<Stats> perLevelAbilities;
	
	
	public StartingRole() {
	 perLevelCharacteristics = new Stats();
	 perLevelAbilities = new LinkedList<Stats>();
	}
	/**
	 * @return the perLevelCharacteristics
	 */
	public Stats getPerLevelCharacteristics() {
		return perLevelCharacteristics;
	}
	
	/**
	 * @param perLevelCaratteristics the perLevelCaratteristics to set
	 */
	public void setPerLevelCharacteristics(Stats perLevelCharacteristics) {
		this.perLevelCharacteristics = perLevelCharacteristics;
	}

	public LinkedList<Stats> getPerLevelAbilities() {
		return perLevelAbilities;
	}

	public void setPerLevelAbilities(LinkedList<Stats> perLevelAbilities) {
		this.perLevelAbilities = perLevelAbilities;
	}
	
	/**

	
	//@Debug
	@Override
	public String toString() {
		
		return "Nome : "+name+" "
				+"Attacco : "+characteristics.physicalForce+" "
				+"N.Ability : "+abilities.size()+" "
				+"A1 "+abilities.get(0).getAbilityValue().getName();
	}
//	/** */
//	public void sumTo(Role role, final int deltaLevel,  final boolean fake)
//	{
//		role.caratteristics.sum(this.caratteristics.sum(perLevelCaratteristics)., true);
//		
//	}
	
//	/** */
//	public void sumed(final Role holyFuck, final int level)
//	{
////		Stats result = new Stats();
////		result.name = this.name;
//		holyFuck.caratteristics.health = level*caratteristics.health*perLevelCaratteristics.health;
//		holyFuck.caratteristics.attackRange = level*caratteristics.attackRange*perLevelCaratteristics.attackRange;
//		holyFuck.caratteristics.movementRange = level*caratteristics.movementRange*perLevelCaratteristics.movementRange;
//		holyFuck.caratteristics.magicForce = level*caratteristics.magicForce*perLevelCaratteristics.magicForce;
//		holyFuck.caratteristics.magicResistance = level*caratteristics.magicResistance*perLevelCaratteristics.magicResistance;
//		holyFuck.caratteristics.physicalForce = level*caratteristics.physicalForce*perLevelCaratteristics.physicalForce;
//		holyFuck.caratteristics.physicalResistance = level*caratteristics.physicalResistance*perLevelCaratteristics.physicalResistance;
//	
//		for(int index = 0; index < holyFuck.abilities.length; index++)
//		{
//			 holyFuck.abilities[index] = abilities[index].
//		}
//	}
}
